But maps lack some of the features expected of structured data: they have no real "type"( without added metadata) and, unlike classes, they can't be extended with new behavior. 但是映射缺乏一些结构化数据的预期功能:它们没有真实的“类型”(在不添加元数据的情况下),不像类那样,它们不能通过新的行为扩展。
To retrieve structured type data from a table, there must be some way to convert that type into a single scalar value whose type, in turn, must be based on one of the built-in DB2 data types. 为了从表中检索结构化类型数据,必须有一些将类型转换成一个标量值,换句话说,这些值的类型必须基于某种内置的DB2数据类型。
A structured data type is a form of user-defined data type that contains a sequence of attributes, each of which has a data type. 结构化数据类型是一种用户定义的数据类型,它包含了一系列的属性,每一个属性都有一个数据类型。
A structured collection of data objects, forming a data type. 多个数据对象的结构化汇集,以形成一种数据类型。
We will call any data type whose values are composed of component elements that are related by some structure a structured data type, or data structure. 我们称其值由组成元素组成,且这些组成元素通过某种结构而彼此相关,类型结构为结构化数据类型或数据结构。
Thus we see that a structured data type can have operations defined on its composite values, as well as on the component elements of those values. 由此我们知道数据结构可以有定义在其构成值之上的操作。也有定义在这些值的组成元素上的操作。